<include file="public:header" />
<div class="allpagetop">站内信<strong>/</strong>列表</div>
<div class="admin_main_nr_dbox">
 	    <div class="pagetit">
	        <div class="ptit">站内信</div>
				<div class="topnav">
			        <a href="{:RU('msg/add')}" <if condition="ACTION_NAME eq 'add'">class="select"</if>>添加</a>
					  <a href="{:RU('msg/lists')}" <if condition="ACTION_NAME eq 'lists'">class="select"</if>>列表</a>  
				    <div class="clear"></div>
				</div>
	        <div class="clear"></div>
	    </div>
		
  
	
    <form id="form1" name="form1" method="post" action="{:RU('msg/delete')}">
	
	  <div class="admin_list_th">
	    <div class="td1" style=" width:40%;"><label id="chkAll" class="left_txt_td"><input type="checkbox" name="chkAll"  id="chk" title="全选/反选" /> 消息</label></div>
		<div class="td2" style=" width:15%;">发布人</div>
		<div class="td4" style=" width:15%;">类型</div>
		<div class="td3" style=" width:10%;">接收会员</div>
		<div class="td3" style=" width:10%;">发布时间</div>		
		<div class="td5" style=" width:10%;">
		<div class="admin_list_right">操作</div>
		</div>
	  <div class="clear"></div>
	  </div>
	  
	  
	    <volist name="lists.list" id="list">
					   <div class="admin_list_tr link_bk">
						<div class="td1" style=" width:40%;">
						  <div class="left_txt_td striking">
								<input name="id[]" type="checkbox" id="id" value="{$list.id}"  />
								{$list.msg} 
						  </div>
						</div>
						<div class="td2" style=" width:15%;">
						<span class="userLV">LV{$list.user.exp_lv}</span>{$list.user.username}
						</div>
						<div class="td3" style=" width:15%;">
						 {$list.type_str}
						</div>
						<div class="td3" style=" width:10%;">
						{$list.receiver_str}
						</div>
						<div class="td3" style=" width:10%;">
						 {$list.addtime_str}
						</div>
				 
					   
						<div class="td5" style=" width:10%;">
									  <div class="admin_list_right link_blue">
									   <a href="{:RU('msg/edit',array('id'=>$list['id']))}">修改</a> 
									 <a href="{:RU('msg/delete',array('id'=>$list['id']))}" onclick="return confirm('你确定要删除吗？')">删除</a>
									  </div>
						</div>
					  <div class="clear"></div>
					  </div>
	   </volist>
	  
	
	   <div id="J_audit_from"></div>
	   <div id="J_exc_from"></div>
		 
      
  </form>
  
  
    <empty name="lists.list">
    <div class="admin_list_no_info">没有任何信息！</div>
    </empty>
	
	
	
	<div class="admin_list_foot">
			  <div class="btnbox">
				 <input type="button"  class="admin_submit"   value="添加"  onclick="window.location='{:RU('msg/add')}'"/>
				 <input  type="button"  class="admin_submit"  id="ButDel"  value="删除"/>
			  </div>
			  
			  
			  
	          <div class="footso">
			  			<form action="{:RU('msg/lists')}" method="get">
						<div class="sobox">
							<input name="key" type="text"  class="sinput" maxlength="10" value="{$Think.get.key}"/>
							<input name="key_type" id="J_key_type_id" type="hidden" value="{$Think.get.key_type|default="1"}" />
							<input name="key_type_cn" id="J_key_type_cn" type="hidden" value="{$Think.get.key_type_cn|default="消息"}" />
							<input name="" type="submit" value=""  class="sobtn"/>
							<div class="sotype" id="J_key_click">{$Think.get.key_type_cn|default="消息"}</div>
							
							
							
							
							
							<div class="mlist" id="J_mlist">
							<ul>
							<li id="1" title="消息">消息</li>
							<li id="2" title="UID">UID</li>
							</ul>
							</div>
						</div>
						</form>
			  </div>
	</div>
	
 
    <div class="uupage">{$lists.page}</div>
</div>
<include file="public:footer" />
 <script type="text/javascript">
    $(document).ready(function()
    {
        //点击批量取消    
        $("#ButDel").click(function(){
            if (confirm('你确定要删除吗？'))
            {
                $("form[name=form1]").submit()
            }
        });
    });
</script>
</body>
</html>